package com.huatao.subject.domain.handler.subject;

import com.huatao.subject.common.enums.SubjectInfoTypeEnum;
import com.huatao.subject.domain.entity.SubjectInfoBO;
import com.huatao.subject.domain.entity.SubjectOptionBO;

public interface SubjectTypeHandler {

    // 识别枚举身份
    SubjectInfoTypeEnum getHandlerType();

    void add(SubjectInfoBO subjectInfoBO);

    SubjectOptionBO query(int subjectId);

}